package cn.com.chengmandian.bike.mapper;

import cn.com.chengmandian.bike.model.EbOperationNoparking;
import cn.com.chengmandian.bike.model.vo.OperationNoparkingVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 运营禁停区配置 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-10
 */
@Mapper
public interface EbOperationNoparkingMapper extends BaseMapper<EbOperationNoparking> {

    List<OperationNoparkingVo> getNoparkingList(@Param("areaId") Integer areaId);

    List<OperationNoparkingVo> getNearNoparkingList(@Param("areaId") Integer areaId, @Param("minLat") BigDecimal minLat, @Param("maxLat") BigDecimal maxLat, @Param("minLng") BigDecimal minLng, @Param("maxLng") BigDecimal maxLng);
}
